package cn.itsource.pethome.pay.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.pay.domain.AlipayInfo;

/**
 * 支付信息mapper
 */
public interface AlipayInfoMapper extends BaseMapper<AlipayInfo> {
    /**
     * 根据订单号查询支付信息
     * @param out_trade_no
     * @return
     */
    AlipayInfo loadByOrderSn(String out_trade_no);

    /**
     * 根据店铺id查询支付信息
     * @param id
     * @return
     */
    AlipayInfo loadByShopId(Long id);
}
